﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Stock.Common
{
      public class DateUtils
      {
      }

      public class Holidays
      {
            public class Rootobject
            {
                  public string status { get; set; }
                  public string t { get; set; }
                  public string set_cache_time { get; set; }
                  public Datum[] data { get; set; }
            }

            public class Datum
            {
                  public string ExtendedLocation { get; set; }
                  public string OriginQuery { get; set; }
                  public int SiteId { get; set; }
                  public int StdStg { get; set; }
                  public int StdStl { get; set; }
                  public int _select_time { get; set; }
                  public string _update_time { get; set; }
                  public int _version { get; set; }
                  public Almanac[] almanac { get; set; }
                  public string appinfo { get; set; }
                  public string cambrian_appid { get; set; }
                  public string clicklimit { get; set; }
                  public int disp_type { get; set; }
                  public string fetchkey { get; set; }
                  public Holiday[] holiday { get; set; }
                  public Holidaylist[] holidaylist { get; set; }
                  public string key { get; set; }
                  public string loc { get; set; }
                  public string resourceid { get; set; }
                  public int role_id { get; set; }
                  public string selectday { get; set; }
                  public string tplt { get; set; }
                  public string url { get; set; }
            }

            public class Almanac
            {
                  public string avoid { get; set; }
                  public string date { get; set; }
                  public string suit { get; set; }
            }

            public class Holiday
            {
                  public string desc { get; set; }
                  public string festival { get; set; }
                  public List[] list { get; set; }
                  public int listnumbaidu { get; set; }
                  public string name { get; set; }
                  public string rest { get; set; }
            }

            public class List
            {
                  public string date { get; set; }
                  public string status { get; set; }
            }

            public class Holidaylist
            {
                  public string name { get; set; }
                  public string startday { get; set; }
            }

      }
}
